<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      console.log(screen);
      /* 
        返回结果
        availHeight: 690
        availWidth: 1280
        height: 720
        width: 1280
        availLeft: 0
        availTop: 0
        colorDepth: 24
        isExtended: false
        onchange: null
        orientation: ScreenOrientation {angle: 0, type: 'landscape-primary', onchange: null}
        pixelDepth: 24
        */
    </script>
  </body>
</html>
